package com.hiultra.archive.service;

import com.hiultra.archive.domain.ArcBorrowDetails;

import java.util.List;

/**
 * 借阅详情Service接口
 * 
 * @author ls
 * @date 2022-07-28
 */
public interface IArcBorrowDetailsService 
{
    /**
     * 查询借阅详情
     * 
     * @param detailId 借阅详情主键
     * @return 借阅详情
     */
    public ArcBorrowDetails selectArcBorrowDetailsByDetailId(Long detailId);

    /**
     * 查询借阅详情列表
     * 
     * @param arcBorrowDetails 借阅详情
     * @return 借阅详情集合
     */
    public List<ArcBorrowDetails> selectArcBorrowDetailsList(ArcBorrowDetails arcBorrowDetails);

    /**
     * 新增借阅详情
     * 
     * @param arcBorrowDetails 借阅详情
     * @return 结果
     */
    public int insertArcBorrowDetails(ArcBorrowDetails arcBorrowDetails);

    /**
     * 修改借阅详情
     * 
     * @param arcBorrowDetails 借阅详情
     * @return 结果
     */
    public int updateArcBorrowDetails(ArcBorrowDetails arcBorrowDetails);

    /**
     * 批量删除借阅详情
     * 
     * @param detailIds 需要删除的借阅详情主键集合
     * @return 结果
     */
    public int deleteArcBorrowDetailsByDetailIds(Long[] detailIds);

    /**
     * 删除借阅详情信息
     * 
     * @param detailId 借阅详情主键
     * @return 结果
     */
    public int deleteArcBorrowDetailsByDetailId(Long detailId);
}
